<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content="text/html;charset=UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no cache"/>
    <meta http-equiv="Expires" content="0"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="format-detection" content="telephone=no"/>
    <script src="https://cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
    <link href="https://cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../plugins/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" type="text/css" href="../../css/fs.css" media="all"/>
    <script type="text/javascript" src="../../plugins/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../plugins/layui/layui.js"></script>
    <script type="text/javascript" src="../../plugins/echarts/echarts.min.js"></script>
    <script type="text/javascript" src="../../plugins/frame/js/fs.js?v=1.7.0"></script>
</head>
<body>


<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-body">

            <script type="text/html" id="subject_school_reload_toolbar">
                <form class="layui-form">
                    <div class="layui-inline">
                        <div class="layui-input-inline">
                            <select name="modules" id="subject" lay-filter="subject_school_select">
                                <option value="">选择科目</option>
                            </select>
                        </div>
                    </div>
                </form>
            </script>

            <table class="layui-table"
                   lay-data="{id:'subject_school_reload', height:300, toolbar:subject_school_reload_toolbar, data:null}"
                   lay-filter="subject_school">
                <thead>
                <tr>
                    <th lay-data="{field:'id', width:100}">ID</th>
                    <th lay-data="{field:'school', width:250}">学校</th>
                    <th lay-data="{field:'area', width:280}">地址</th>
                    <th lay-data="{field:'candidates_num'}">可报考人数</th>
                    <th lay-data="{field:'right', align: 'center', toolbar: '#barDemo' }">操作</th>
                </tr>
                </thead>
            </table>
            <script type="text/html" id="barDemo">
                <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="confrim">点击报名</a>
            </script>

            <div>

                <div style="margin-top: 50px">
                    <button class="layui-btn layui-btn-normal layui-btn-sm" id="click_confrim">确认报名
                    </button>
                </div>
                <table class="layui-table" lay-filter="subject_school_confrim"
                       lay-data="{id:'subject_school_confrim', data:null}">
                    <thead>
                    <tr>
                        <th lay-data="{field:'course', width:100}">科目</th>
                        <th lay-data="{field:'school', width:280}">学校</th>
                        <th lay-data="{field:'area'}">地址</th>
                        <th lay-data="{field:'time'}">考试时间</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="../../scripts/participate/subject_school.js"></script>
</body>
</html>
